<?php
/**
 * ユニットテストクラス
 */
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once __DIR__ . '/../GeneralComment.php';
require_once APPLICATION_PATH . '/models/HttpRequest/HttpRequestController.php';

class GeneralCommentTest extends UnitTestCase
{
	/**
	 * テキストエリア描画テスト
	 */
	public function Test1100()
	{
		$_REQUEST[Models_HttpRequest_Controller::GAME_ID] = 'test';
		$obj = new Components_GeneralComment( 'test');
		$RET = $obj->fetch();
		echo $RET;

		global $SESSION;
		$RET = $SESSION->getValue(Models_HttpRequest_Controller::GENERAL_COMMENT_WRITER);
		echo $RET;
	}
}